package com.ems.sys.dao;

import com.ems.sys.pojo.Users;
import com.ems.sys.pojo.Users_Roles;
import org.apache.ibatis.annotations.Delete;
import tk.mybatis.mapper.common.Mapper;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

public interface Users_RolesMapper extends Mapper<Users_Roles> {
    @Delete("delete from users_roles where roleId = #{roleId}")
    void deleteByRoleId(String roleId);
}
